/*
  Copyright � 2009 Smart Enterprise Solution Corp.
  Email: contact@ses.vn - Website: http://www.ses.vn
  ThanhNam ERP Project.
*/
using System;
using System.Data;
using System.Configuration;
using System.Collections;

using VINETLIFE.DAL;
using VINETLIFE.DO;
/// <summary>
/// Summary description for cmsContactBL
/// </summary>
namespace VINETLIFE.BL 
{
    public class cmsContactBL 
    {
    	#region Private Variables
		cmsContactDAL objcmsContactDAL;
		#endregion
		
        #region Public Constructors
        public cmsContactBL()
        {
            //
            // TODO: Add constructor logic here
            //
            objcmsContactDAL=new cmsContactDAL();
        }
        #endregion       

        #region Public Methods
        public int Insert(cmsContactDO objcmsContactDO)
        {
            return objcmsContactDAL.Insert(objcmsContactDO);
        }

        public int Update(cmsContactDO objcmsContactDO)
        {
             return objcmsContactDAL.Update(objcmsContactDO);

        }

        public int Delete(cmsContactDO objcmsContactDO)
        {
             return objcmsContactDAL.Delete(objcmsContactDO);

        }

         public int DeleteAll()
        {
             return objcmsContactDAL.DeleteAll();
        }

        public cmsContactDO Select(cmsContactDO objcmsContactDO)
        {
            return objcmsContactDAL.Select(objcmsContactDO);
        }

        public ArrayList SelectAll1( )
        {
         return objcmsContactDAL.SelectAll1();
        }
        
        public DataTable SelectAll( )
        {
         return objcmsContactDAL.SelectAll();
        }


     
#endregion          
    
    }

}
